cmake_minimum_required(VERSION 3.5)
project(poses)

find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)

find_package(tf2 REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)

include_directories(include)

add_executable(constant src/constant.cpp)
ament_target_dependencies(constant rclcpp tf2 tf2_ros tf2_geometry_msgs sensor_msgs geometry_msgs)


install(
	TARGETS constant
	DESTINATION lib/${PROJECT_NAME}
)

install(
	DIRECTORY launch
	DESTINATION share/${PROJECT_NAME}
)


ament_package()
